package com.wangshuo.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wangshuo.entity.Orderr;
import com.wangshuo.entity.OrderrItem;
import com.wangshuo.mapper.OrderMapper;
import com.wangshuo.service.OrderrService;
import com.wangshuo.mapper.OrderrMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 13326
* @description 针对表【orderr】的数据库操作Service实现
* @createDate 2025-03-08 16:28:12
*/
@Service
public class OrderrServiceImpl extends ServiceImpl<OrderrMapper, Orderr>
    implements OrderrService{
    @Resource
    private OrderMapper orderMapper;
    @Override
    public List<OrderrItem> getlist(Long uid){
        return orderMapper.getlist(uid);
    }
    @Override
    public List<OrderrItem> getlist1(Long uid){
        return orderMapper.getlist1(uid);
    }
    @Override
    public IPage<OrderrItem> getlistpage(IPage<OrderrItem> page, String keyword){
        return orderMapper.getlistpage(page,keyword);
    }

}




